package com.deep.consumer.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("cloud-provider2")
public interface ProviderClient {

    @GetMapping("/provider/{name}")
    public String echo(@PathVariable(name = "name") String name);
}
